/*
 * @Description: 你的代码我的心
 * @Author: GGB
 * @Date: 2022-01-24 15:23:53
 * @LastEditors: GGB
 * @LastEditTime: 2022-01-25 17:37:00
 */
import { BasicColumn } from '/@/components/Table';

export const columns: BasicColumn[] = [
  {
    title: '菜单ID',
    dataIndex: 'menu_id',
    width: 100,
  },
  {
    title: '菜单名称',
    dataIndex: 'name',
    width: 100,
  },
  {
    title: 'path',
    dataIndex: 'path',
    width: 100,
  },
  {
    title: '可操作权限',
    dataIndex: 'actions',
    width: 200,
    slots: { title: 'customActions', customRender: 'actions' },
  },
  {
    title: '排序',
    dataIndex: 'sort',
    width: 100,
  },
];
